﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace sz.db.model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("bus_wood_information")]
    public partial class bus_wood_information
    {
           public bus_wood_information(){


           }
           /// <summary>
           /// Desc:编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string id {get;set;}

           /// <summary>
           /// Desc:车间编码/工厂代码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string workshop_id {get;set;}

           /// <summary>
           /// Desc:板件条码
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string barcode {get;set;}

           /// <summary>
           /// Desc:中文描述
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string description_zh {get;set;}

           /// <summary>
           /// Desc:批次号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string batch_id {get;set;}

           /// <summary>
           /// Desc:工程名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string project_name {get;set;}

           /// <summary>
           /// Desc:订单号码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string order_number {get;set;}

           /// <summary>
           /// Desc:排产下来的生产日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? production_date {get;set;}

           /// <summary>
           /// Desc:工艺代码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string material_code {get;set;}

           /// <summary>
           /// Desc:件数
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public int? quantity {get;set;}

           /// <summary>
           /// Desc:进料长度
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal? raw_length {get;set;}

           /// <summary>
           /// Desc:进料宽度
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal raw_width {get;set;}

           /// <summary>
           /// Desc:成品长度
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal finish_length {get;set;}

           /// <summary>
           /// Desc:成品宽度
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal finish_width {get;set;}

           /// <summary>
           /// Desc:成品厚度
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal? finish_thickness {get;set;}

           /// <summary>
           /// Desc:数据创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? created_time {get;set;}

           /// <summary>
           /// Desc:所属机构编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string office_id {get;set;}

           /// <summary>
           /// Desc:产线编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string line_code {get;set;}

           /// <summary>
           /// Desc:修改方式(0：自动，1：手动)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string update_mode {get;set;}

           /// <summary>
           /// Desc:导入模式(0：自动，1：手动)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string import_mode {get;set;}

           /// <summary>
           /// Desc:导入操作人
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string import_by {get;set;}

           /// <summary>
           /// Desc:数据导入云标识(0：未导入，1：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_cloud_flag {get;set;}

           /// <summary>
           /// Desc:加工机器：1-机器1，2-机器2，3-机器3，4-机器4，5-机器5
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string dvm {get;set;}

           /// <summary>
           /// Desc:数据导入历史标识(0：未加工完成，1：未导入，2：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_his_flag {get;set;}

           /// <summary>
           /// Desc:单元户型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string house_type {get;set;}

           /// <summary>
           /// Desc:柜号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string container_id {get;set;}

           /// <summary>
           /// Desc:产品类型(橱柜、浴室柜、家具等）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string product_type {get;set;}

           /// <summary>
           /// Desc:子工单类型（柜体、门板、吸塑门板、铝框玻璃门、背板等）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string sub_job_type {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string barcode1 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string barcode2 {get;set;}

    }
}
